      SUBROUTINE SETUP
      RETURN
      END
C   HS63
      BLOCK DATA
      INCLUDE 'BLOCO.INC'
      INTEGER I,J
      DATA NAME/'HS63'/
      DATA (X(I),I=1,3)/3* 2.D0/
      DATA N/3/ , NH/2/ , NG/3/
      DATA TAU/1.D0 / , TAU0/1.D1/ , DEL0/1.D0 /
      DATA (GUNIT(1,J),J=3,5)/3*1/,(GUNIT(3,I),I=3,5)/3*1/,
     F     (GUNIT(2,I),I=3,5)/1,2,3/
     F     ,((GUNIT(I,J),I=1,3),J=0,2)/-1,0,0,-1,0,0,-1,0,0/
      END
      SUBROUTINE EF(X,FX)
      INCLUDE 'FUCO.INC'
      DOUBLE PRECISION X(NX),FX
      ICF=ICF+1
      FX=1.D3-X(1)**2 - 2.D0*X(2)**2 - X(3)**2 - X(1)*X(2) - X(1)*X(3)
      RETURN
      END
      SUBROUTINE EGRADF(X,GRADF)
      INCLUDE 'FUCO.INC'
      DOUBLE PRECISION X(NX),GRADF(NX)
      ICGF=ICGF+1
      GRADF(1)=-2.D0*X(1)-X(2)-X(3)
      GRADF(2)=-4.D0*X(2)-X(1)
      GRADF(3)=-2.D0*X(3)-X(1)
      RETURN
      END
      SUBROUTINE EH(I,X,HXI)
      INCLUDE 'FUCO.INC'
      INTEGER I
      DOUBLE PRECISION X(NX),HXI
      CRES(I)=CRES(I)+1
      IF( I .EQ. 2)      GOTO 100
      HXI=8.D0*X(1)+14.D0*X(2)+7.D0* X(3)-56.D0
      RETURN
 100  CONTINUE
      HXI= X(1)**2+X(2)**2+X(3)**2-25.D0
      RETURN
      END
      SUBROUTINE EGRADH(I,X,GRADHI)
      INCLUDE 'FUCO.INC'
      INTEGER I
      DOUBLE PRECISION X(NX),GRADHI(NX)
      CGRES(I)=CGRES(I)+1
      IF(I .EQ. 2)      GOTO 100
      GRADHI(1)=8.D0
      GRADHI(2)=14.D0
      GRADHI(3)=7.D0
      RETURN
  100 CONTINUE
      GRADHI(1)=X(1)+X(1)
      GRADHI(2)=X(2)+X(2)
      GRADHI(3)=X(3)+X(3)
      RETURN
      END
      SUBROUTINE EG(I,X,GXI)
      INCLUDE 'FUCO.INC'
      INTEGER I
      DOUBLE PRECISION X(NX),GXI
      IF ( GUNIT(1,I+NH) .EQ. -1 ) CRES(I+NH)=CRES(I+NH)+1
      GXI=X(I)
      END
      SUBROUTINE EGRADG(I,X,GRADGI)
      INCLUDE 'FUCO.INC'
      INTEGER I,J
      DOUBLE PRECISION X(NX) ,GRADGI(NX)
      DO      100      J=1,3
      GRADGI(J)=0.D0
  100 CONTINUE
      GRADGI(I)=1.D0
      RETURN
      END


